<template>
    <div class="total-cont" >
        <img :src="info.icon" alt="" srcset="">
        <div class="text-cont">
            <h2>{{ info.total }}<i>{{ info.dw }}</i></h2>
            <p>{{ info.text }}</p>
        </div>
    </div>
</template>

<script>
    export default {
        props:['info']
    }
</script>

<style lang="scss" scoped>
.total-cont{
    width: 24%;
    height: 100%;
    background: url('../../../assets/images/total.png') no-repeat 0 0/100% 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    img{
        width: 30px;
        height: 30px;
    }
    .text-cont{
        display: flex;
        flex-direction: column;
        justify-content: center;
        h2{
            font-size: 30px;
            font-family: "MyFont";
            color: #52eff1;
            >i{
                font-size: 14px;
            }
        }
        p{
            color: white;
        }
    }
}
</style>